home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Experimental BBS Explossion 3
/
Experimental BBS Explossion III.iso
/
gus
/
sdkdigv7.zip
/
SDKV7N3.TXT
< prev
next >
Wrap
Text File
|
1993-12-08
|
4KB
|
125 lines
Apparently-To: john.smith@gravis.com
GUS Programmer's Digest Wed, 8 Dec 93 3:56 Volume 7: Issue 3
Today's Topics:
Example Code
Here's a good project . . .
Pascal Sound Units?
Standard Info:
- Meta-info about the GUS can be found at the end of the Digest.
- Before you ask a question, please READ THE FAQ.
----------------------------------------------------------------------
Date: Wed, 8 Dec 93 0:11:27 CST
From: Jay Stelly <claris!jay%csccat.cs.com@apple.com>
Subject: Re: Example Code
> From: jdimich@ajiant.dnet.dupont.com
>
> I am experiencing a small problem when it comes to compiling some Turbo C++
> source code with the GUS SDK. I am just a beginner C programmer, but am
> picking up on the concept and all very quickly. Here is just some test code
> which won't even work:
>
> #include <dos.h>
> #include <conio.h>
> #include <gf1proto.h>
> ..
>
> void main(void)
> {
> UltraOpen();
> getch();
> }
>
> include files (extern.h, ultraerr.h, osproto.h, etc..). Everytime I try and
> compile this very simple source code, I get an error message along the lines of
> "_UltraOpen not defined in source test.c". This is really frustrating as I
> have included every single GUS include file possible, and have created a
> project file to include the libraries ULTRA0LB.LIB and ULTRA1LB.LIB. Am I
If you are compiling in C++, you need to be aware that ULTRA0LB.LIB and
ULTRA1LB.LIB are compiled as C libraries. This could be your problem. Try
using :
extern "C" {
#include <forte.h>
#include <extern.h>
#include <gf1proto.h>
#include <ultraerr.h>
};
in your source. Otherwise there is a problem with your link. Be sure that
you are linking the GUS libraries. Without any other info, that's all
the help I can give you as the code you've included should be OK. Although
UltraOpen does have arguments: UltraOpen( ULTRA_CFG *, int ) I believe.
Jay Stelly
jay@cs.com
------------------------------
Date: Tue, 7 Dec 93 13:47:08 -0500
From: hal wayne black <sylk@mik.uky.edu>
Subject: Here's a good project . . .
Here's a good project for someone:
Do a hack job on Star Control II to get it to work without those messy
sounds that it makes when you have GUS with 1mb.
I would do it, but Star Control 7 would be out before I figured out how to
do it - if at all.
Hal
------------------------------
Date: Tue, 7 Dec 1993 13:15:46 -0600 (CST)
From: Josh Hildebrand <ren@ghostwheel.bga.com>
Subject: Pascal Sound Units?
I just started writing a game, and as I get closer to the end of it, I have
begun to think about sound support. I KNOW I'll support the GUS, but I really
don't have any idea how to code in Pascal for any sound card. (Even the
GUS.) I could probably piece together some pascal source code from the GUS
Pascal unit available, but it is really out dated and it doesn't really have
what I need.
I am hoping that somebody (Joshua Jensen??) could tell me where or email me
a Turbo Pascal unit or object file or source, etc. I'd like it to support
several popular sound cards, but any would be fine. I run TP7.0, just incase
it's a compiled unit. How does one get ahold of Josh's new programming
unit? Masi, was it? Can't remember the name.
--
ren@ghostwheel.bga.com
------------------------------
End of GUS Programmer's Digest V7 #3
************************************
To post to tomorrow's digest: <gus-sdk@dsd.es.com>
To (un)subscribe or get help: <gus-sdk-request@dsd.es.com>
To contact a human (last resort): <gus-sdk-owner@dsd.es.com>
FTP sites: archive.epas.utoronto.ca /pub/pc/ultrasound
wuarchive.wustl.edu /systems/msdos/ultrasound
archive.orst.edu /pub/packages/gravis
theoris.rz.uni-konstanz.de /pub/sound/gus
FTP mail server: mail-server@nike.rz.uni-konstanz.de
Hints:
- Get the FAQ from the FTP sites or the request server.
- Mail to <gus-sdk-request@dsd.es.com> for info about other GUS
related mailing lists (general use, musician's, etc.).